//
//  TarpipeRequest.h
//  TarPhone
//
//  Created by Christopher Anderson on 21/03/2009.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Workflow.h"


@protocol TarPipeRequestDelegate
- (void) requestDidCompleteWithUrl:(NSURL*)url withResponseString:(NSString *)string;
@optional
- (void) requestFailed;
@end

@interface TarpipeRequest : NSObject {
	Workflow *workflow;
	NSString *title;
	NSString *body;
	UIImage *image;
}

- (id) initWithWorkflow:(Workflow*)inWorkflow andTitle:(NSString*)inTitle andBody:(NSString*)inBody andImage:(UIImage*)inImage;

@property (retain, nonatomic) Workflow *workflow;
@property (retain, nonatomic) NSString *title;
@property (retain, nonatomic) NSString *body;
@property (retain, nonatomic) UIImage *image;

@end
